Digital data corrector

ABSTRACT

In a system for correcting digital data, a first register for storing a basic digital input and a second register for storing one or a plurality of corrective digital inputs are provided. A program section including said second register samples digital program data according to a predetermined program in response to the corrective digital inputs stored in the second register and a data selector picks up digital program data corresponding to the basic digital input from among the digital program data sampled by the program section, wherein the digital program data picked up by the data selector is added to the basic digital input.

United States Patent [191 Kitano 1 1 May 14, 1974 DIGITAL DATA CORRECTOR 3.6793179 7/1972 Seki et a1. 235/152 Inventor: Akira g ya. Japan 3.661160 5/1972 Hoppes 235/152 X [73] Assignee: Nippondenso Co., Ltd., Aichi-ken, Primary Examiner-Malcolm A. Morrison Japan Assistant Examiner.lames F. Gottman Attorney, Agent, or Firm-Cushman, Darby & [22] Filed. July 5, I972 Cushman [211 App]. No.: 269,141

[57] ABSTRACT F i A li i P i it D In a system for correcting digital data, a first register July 7 1971 Japan M N 4660102 for storing a basic digital input and a second reglster for storing one or a plurality of corrective digital in- 152 us. 01 235/152 235/1502 235/150.21 Puts are Pmvided- A Pmgam including Said 51 1m. 01 G06f 1/02, soar 15/50 ,Semnd register P' digital Pro/51am data accord" [58] Field 0fSearch....' 235/152, 150.2, 150.21 mg to P'edetemmed Pmgram eSPOnSe the corrective digital inputs stored in the second register [56] References Cited and a data selector picks up digital program data corresponding to the basic digital input-from among the UNITED STATES PATENTS digital program data sampled by the program section, 3.6331117 1/1972 Crooke et a1. 235/152 X wherein the digital program data picked up by the 3; a g g iz g data selector is added to the basic digital input. 3,689,755 9/1972 Ho dgson et a1 235/1501] 2 Claims, 11 Drawing Figures LAO 1002 "Tl/0 REGISTER logo REGISTER 1080 B1 120 2 2 SELECTOR HExAoE- CIMAL GATE DECODER 101/ 10? 102/ 1 31 1 1 103;

131 I0 1 MATR'X Bl COUNTER SELECTOR DATA GATE SELECTOR 10.50: 1051.7

105 2 PRoeRAMme ADDER SECTION 0: L J g 10215 REGISTER LPROGQAMVNG O B? SECTION ||Q COUNTER H107;

REGISTER 3a 1132-] 1 112,

1 R 3 rg I 1131 S REGISTER R-s FLIP-FLOP 109 REasTER IATENTEBIIII 14 I924 SHEET 1 UP 9 I? FIG. I LO REGISTER l REGISTER 0 I04 SELECTOR HEXADE- GATE CIMAL DECODER IOI? I020 I02) I 131 1/12!) '03? MATRIX "3'? IOZI COUNTER SELECTOR DATA GATE SELECTOR I050 20w lO5b I05 I L PROGRAMMNG ADDER SECTION losu .uog |O2b t i REGISTER ,3 PRGGRAMIIIIIG HO Fill; H I

SECTION fi I077 By COUNTER REGISTER H3) ||2C- H32 R H3O 'gg H20 3| 8 REGISTER I R-S FLIP-FLOP 2 I |O9 REGISTER PATENTEnmmmn 3.811.037

SHEET 2 0F 9 FIG. 2

IO2Q

REGISTER PATENTEDIAY 14 m4 3.811.037

saw u or 9 FIG. 4

CLOCK PULSE Q CLOCK 0 CLOCK 0 CLOCK 0 CLOCK D LATCH CKT LATCH CKT LATCH CKT LATCH CKT Q Q Q Q ll2b ll2b Il2b Il2b FlG.5b

PATENTEUM 141974 3,811,037

SHEET 5 [IF 9 IOI AND

IOIO 10100 .1 AND FIG. 50

PATENTEDNAY 14 1914 3811Q037 sum 7 or 9 FIG. 8

DIGITAL DATA CORREC'IOR BACKGROUND OF THE INVENTION 1. Field Of The Invention This invention relates to a digital data correcting system for correcting a basic input by means of one or a plurality of digitized corrective inputs in the event that an adequate output is not obtained by the mere application of a digitized basic input to, say, an electronic fuel injection system.

2. Description Of The Prior Art In a conventional electronic fuel injection system, the quantity of basic input of a negative engine pressure is corrected according to a predetermined function in such a manner that both the negative engine pressure of the basic input and the corrective inputs including engine speed, engine temperature and suction air temperature are converted into analog voltages and such operations as addition, subtraction and multiplication are performed analogically.

In such an analogical system, the more complicated are the functions for correction, the more operating processes are necessary. Also, a more complicated structure and a larger size of the system results in a higher cost.

SUMMARY OF THE INVENTION Accordingly, it is an object of this invention to obviate the above-mentioned disadvantages of the conventional electronic fuel injection system by providing a low-cost, compact digital data correcting device with a simple structure which iscapable of all digital calculating operations.

BRIEF DESCRIPTION OF THE DRAWING FIG. I is a block diagram showing the digital .data correcting device embodying the present invention.

FIG. 2 is a block diagram showing the essential parts of the digital data correcting device illustrated in FIG. 1.

FIG. 3 is a characteristics diagram showing the relationship between the basic input to the matrix section of the present invention and the number of its output pulses.

FIG. 4 shows a latch circuit constituting the register of FIGS. 1 and 2.

FIGS. 5a and 5b are electrical circuit diagrams showing the selector gates illustrated in FIGS. 1 and 2.

FIG. 6 is an electrical circuit diagram showing the data selector included in FIGS. 1 and 2.

FIG. 7 is an electrical circuit diagram showing the counter circuit illustrated in FIG. I.

FIG. 8 is an electrical circuit diagram showing the adder circuit included in FIG. 1.

FIG. 9 is an electrical circuit diagram showing the comparator illustrated inFIG. 1.

FIG. 10 is an electrical circuit diagram showing the hexadecimal decoder of binary codes illustrated in FIG. 2.

DESCRIPTION OF THE PREFERRED EMBODIMENTS Explanation will be made now of an embodiment of the invention with three corrective inputs with reference to FIG. 1. In this figure. the reference numeral 0 shows an input terminal to which is applied the basic input A of a digital quantity, for example, corresponding to the negative engine pressure required for an electronic fuel injection system, and numerals 1, 2 and 3 input terminals to which are applied corrective inputs B,, B and 8;, respectively representing, for example, the digital quantities of engine speed, engine temperature and suction air temperature required for the electronic fuel injection system. The numeral shows a register comprising a well-known latch circuit employing a flip-flop for memorizing the digital quantity of the basic input in the form ofa binary number and generating signals at the output terminal 100a. The numerals 10, 20 and 30 show programming sections for sampling the digital program data therein responsive to the digital quantities of corrective inputs 3,, B and B respectively according to a predetermined program, which determines the digital quantity to be corrected of the basic input A or corrected basic input depending upon the corrective inputs. The Numeral 101 shows a selector gate for sequentially applying tothe input terminal 102a of the data selector 102 those program data of corrective inputs 8,, B and B applied to the input terminals 1318,, 1318 and 1318;, respectively in response to an externally designated signal. The numeral 103 shows a counter circuit for performing a binary counting of pulses from the output terminal 1021 of the data selector 102, and the output of the counter circuit 103 is applied to the input terminal a of the adder circuit- 105. The numeral 104 shows a selector gate for selecting the basic input A and the output of register 108, and this selector gate 104 applies a binary number stored in register 100 to the input terminal 105b of the adder circuit 105 only when calculating operations are conducted for the first corrective input 8,, while the gate logics of the selector 104 are such that the binary number stored in the register 108 is applied to the input terminal 105 ofthe adder circuit 105 when calculating operations are performed for the second and subsequent corrective inputs B and B The addercircuit 105 is provided for the purpose of adding the binarynumber inputs applied to the input'terminals 105a and 105b, the binary output of which is applied to the register 106. The binary-number output of the register 106 is applied in turn to the register 107 and converter 112. The binary-number output of the register 107 is applied to the register 108, the binary output of which is applied to the register I09 and selector gate 104. Each of the above-mentioned registers 106, 107, 108 and 109 consist of a well-known latch circuit. To one input terminal ll2b of the comparator 112 are applied the output C of the register 106 and to the other input terminal 1126 of the comparator 112 the output D of the counter circuit 111. These two inputs are compared with each other and if C D, a signal H of a high level is produced at the output terminal 112 a connected to the reset input terminal 1132 of the R-S flipflop 113. When a high-level pulse H from a not-shown reference pulse generator is applied to the set input terminal 1131 of the RS flip-flop 113, the R-S flip-flop 113 is set in operation, thereby producing a high-level signal H at its output terminal 113a, which signal causes the AND gate to be opened, while on the other hand the arrival of a high-level signal H at the reset input terminal 1132 causes a low-level signal L to be produced at the output terminal 113a, whereby the AND gate 110 is closed.

The output of the AND gate 110 is applied to the counter circuit 111 and the stroboscopic terminal 1 102 of the data selector 102. While the AND gate 110 is opened, continuous pulses of given frequencies arrive at the input terminal 1101 of AND gate 110 in such a manner that a multiplicity of pulses pass the gate 110 during the time when the high-level signal H is applied to the output terminal 113a. The output terminal of the counter circuit 111 is connected not only to the input terminal 1120 of the comparator 112 but to the data selecting input terminal 102!) of the data selector 102. The counter 111 counts the multiplicity of pulses received from the gate 110 and generates the binary coded signal showing the count at the terminals 112 and 102b.

The programming section 10 as a representative example of the programming sections 10, 20 and 30 shown in FIG. 1, the selector gate 101'and the data selector 102 are shown in FIG. 2, which also illustrates the matrix section 13 in a programmed state and a hexadecimal decoder of a binary code designated by numeral 12.

Certain components of the circuit shown in the block diagram of FIGS. 1 and 2 are illustrated more in detail in FIGS. 4 and 10. The register 106 consists of the latch circuit (shown in FIG. 4) or CIRCUIT TYPE SN5475N made by Texas Instruments. So are the other registers 100, 107, 108, 109 and 11.' When a clock pulse is applied to the clock terminal, a signal applied to each of the D terminals (106a, to l06a is stored and generated from each of the Q terminals (11211, to 112b,) until a next clock pulse is applied. The selector gate 101 is the same as that shown in FIG. a, which comprises sixteen parallel selector gate portions 1010 including three AND gates 1010a, 1010b and 10100 and the OR gate 1010d. The output signal from the programming section 10 is applied to the input terminals 1318 1318 131B 1318, while the output signals from the programming sections and 30 are applied to the input terminals 1318 1318 1313 1318 and 1318 1318 1318 respectively. Further, when a selecting input signal for selecting the programming sections 10, 20 or 30 is applied sequentially to input terminals 8,, S or S output signals corresponding to the output signals of the programming sections 10, 20 and 30 respectively are delivered from 16 terminals 102a 102a,, 10211 102a The remaining selector gate 104 shown in FIG. 5b is almost the same in construction as the selector gate 101. When a signal from each of input terminals 8., and S is applied sequentially, the output signals corresponding to the output signal of the registers 100 and 108 respectively are delivered from four terminals 105b,, 105b l05b and105b,. The data selector 102 which is shown in detail in FIG. 6 is provided with sixteen input terminals 102a 102a,, 102(1 l02a to which are applied the signals from the selector gate 101, respectively. The output signal from the counter circuit 111 is applied to the data selecting terminals 10212., 10212 102b and 102b,, while the output signal from the AND gate 110 is applied to the input stroboscopic terminal 1102, so that an output signal is obtained from the output terminal 1021. For this purpose, the CIRCUIT TYPE SN54I50 made by Texas Instruments available on the market is used. The abovementioned counter circuit 103, as shown in FIG. 7,

comprises the four .I-K flip-flops for counting the signal from the terminal 102] and producing a signal indicating the count at output terminals a,, 105a 105%, and 105a,. This counter circuit is the same as the circuit 1 11, both of which are well known. The adder circuit 105, as shown in FIG. 8, is composed of 4-bit adder circuits, in which the output signal of binary code from the counter circuit 103 is applied to the four input terminals 105a,, 105a 10511 and 10511 while a selection signal from the selector gate 104 is applied to the four input terminals 10517., 10511 10511;, and 105b,. This adder circuit 105 consists of CIRCUIT TYPE SN5483 made by Texas Instruments of U.S.A. The comparator 112 is as shown in FIG. 9, in which the output signal from the register 106 is applied to the four input terminals 112b,, 11212 11211 and 112b,, while the output signal from the counter circuit 111 is applied to the four input terminals 112e,, 1120 1120 and 112e,. This is a digital comparator CIRCUIT TYPE SN54L85 of Texas Instrument of U.S.A. generally available on the market. The hexadecimal decoder 12 of the binary code is shown in FIG. 10, in which the output signal of register 11 is applied to the 4 input terminals 12a,, 12a 12a;; and 12a.,, while at the same time the gate signal is applied to the gate terminals 12g, and 12g for opening the gate to perform the decoding operation, so that the output signals from the 16 output terminals 12b 12b 12b 12b are applied to the matrix section 13. This hexadecinal decoder 12 is CIRCUIT TYPE SN54154 made by Texas Instruments in U.S.A.

Explanation will be made now of the operation of the system according to the invention with the abovementioned construction. Although the basic input A and corrective inputs 8,, B and B are of digital quantities and all calculating operations are performed digitally, they will be treated here as binary inputs for convenience of illustration. I

Referring first to FIG. 2, assuming that the corrective digital quantity 8, applied to the input terminal 1 is 5 and the basic input A l0, 5 in the binary form is stored in the register 11, while at the same time the binary 5 is converted into a hexadecimal number by the decoder 12 thereby to produce a high-level signal only at the terminal 5. This signal causes output signals'to be generated at the eight output terminals of matrix section 13, thereby sampling the corrective digital data B whereupon signals arrive at the eight input terminals 102a,, 102a,, 102a 102a,, 1021:, 102a 102a and l02a of the data selector 102 through the selector gate 101. Since the basic input A is 10, the date selector 102 repeats l0 selecting operations in response to the output of the counter circuit 111 as will be described later, whereby five pulses are produced at the output terminal 1021. When the basic input A changes from 10 to 15, eight pulses are produced at the output terminal 1021. On the other hand, if the basic input A is reduced to 5, three pulses are produced at the output terminal 1021. Further, when the corrective input B changes from 5 to 15, six pulses are produced at the output terminal 1021 if the basic input A is 10. In this way, pulses depending upon the basic input A and corrective input B, appear at the output terminal 1021, as shown in the graph of FIG. 3. In this figure, the ordinate represents the number of output pulses appearing at the output terminal 1021, while the abscissa shows the basic input A. The curves a and b show the relationship between the basic and corrective inputs when the corrective input B, is 8 and 12 respectively.

The operation of the whole system including the cir cuit of FIG. 2 will be explained with reference to FIG. 1. The basic input A is applied through the selector gate 104 to the adder circuit 105. However, since no pulse has arrived at the counter circuit 103 and further a signal is applied to the input terminal S of the selector gate 104, the result of addition in the adder circuit 105 is the same as the input A. This value A is applied to the register 106 and further to registers 107 and 108 and is sequentially stored therein. The corrected quantities B B and B which are the sampled results of the digital program quantities in accordance with the program of the program wing sections 10, 20 and 30 through the corrective inputs B B and B are applied to the selector gate 101. Among these quantities, B is selected to arrive at the input terminal 102a of the data selector 102 in a predetermined order. With the arrival of a high-level signal H at the set input terminal 1131 of RS flip-flop 113, the high-level signal H appears at the output terminal 113a, so that the AND gate 110 is opened and the pulses from the input terminal 1101 are produced at the output terminal 1102 of the AND gate 110. These pulses are counted by the counter circuit 111, and when the counted result equals the information A stored in the register 106, the high-level signal H is produced at the output terminal 112a of the comparator 112, whereupon the R-S flip-flop 113 is reversed, with the result that the output terminal 113a of R-S flip-flop 113 which is the input terminal of the AND gate 110 at the same time becomes alow L in signal level, thereby ceasing the generation of pulses at the output terminal 1102 of the AND gate 110. As a result, the counter circuit 111 stops its operation at this point. The signal from this counter circuit 111 is used to select the data selector 102 up to the value of basic input A. In the meantime, the number of pulses programmed in the matrix section 13 is produced at the output terminal 1021 of the data selector 102 as already explained, which pulses are counted by the counter circuit 103. The result of this counting operation is assumed to be B The information A stored in the register 108 is selected by applying a signal to the input terminal S of the selector gate 104 and is applied to the adder circuit 105, which produces the result A of the addition B A at its output terminal. This data is stored in the register 106, 107, 108 and 109. As in the case that the corrected quantity B is produced by the programing section in response to the corrective input 8,, application of the corrected quantity 13 by means of the programing section through the selector gate 101 to the data selector 102 causes this data selector 102 to perform the selecting operation up to A stored in the register 106. The pulses thus selected are produced at the output terminal 1021 and counted by the counter circuit 103. Assuming that the counted result is 8 the selector gate 104 selects the information A B stored in the register 108 and applies it to the adder circuit 105, and therefore the adder circuit 105 produces at its output terminal the signal A B B i.e.' the sum of A B and B which is the result obtained by the counter circuit 103.

The above explanation holds true also for the calculating operation for the corrective input B in which the corrected quantity B sampled by the programing section 30 is applied to the data selector 102. The output pulses resulting from the selection by the data selector 102 of the data A 13 E are applied to the counter circuit 103, while the counted result 8 of the counter circuit 103 is added to the data A B 13 in the adder circuit 105, and the resultant data A B B B is stored in the register 109. In other words, a digital signal which is the result of correcting the basic input A by means of the corrective inputs 8,, B and B is stored in the register 109. This digital signal is used, for example, to determine the amount of fuel to be injected, in an electronic fuel injection system.

This invention is not limited to the embodiments illustrated above, but may take various forms. For example, the corrective inputs may be employed in any number. Also, the second and third corrections may be performed by A instead of A E and A B B respectively.

It will be understood from the above explanation that the digital data correcting system according to the invention comprises a first register for storing the basic digital input, a programing section including a second register for storing the corrective digital input, said programing section sampling the digital program data according to a predetermined program in response to the corrective digital input, and a data selector for picking up a digital program data corresponding to the basic digital input from among the digital program data sampled by the programing section, so that even if the function to be corrected is complicated, the-corrected data of the basic digital input is obtained accurately by programming the system in advance such that the same function appears at the programing section.

Further, the provision of the adder circuit for adding the basic digital data to the digital program data selected by the data selector permits the use of the preceding sum as a basic digital input for the following corrective input even if more corrective inputs are employed. Thus not only the complication of calculating operations is eliminated but the fact that standardized circuits may be used simplifies and reduces the size of the system, resulting in a lower cost thereof. Further, the digital instead of analog operations facilitates the integration of circuits, thereby further reducing the size of the system.

1 claim:

1. A digital data correcting system comprising a first register for storing a basic digital input, a programming section including a second register for storing a plurality of corrective digital inputs, said programming section including program means storing digital program data in accordance with a predetermined program, said programming section further including sampling means for sampling the digital program data in accordance with the predetermined program in response to said corrective digital inputs stored in said second register to form sampled digital program data, and a data selector means for selecting digital program data corresponding to said basic digital input from among the sampled digital program data sampled by said programming section.

2. A digital data correcting system comprising a first register for storing a basic digital input, a programming section including a second register for storing a plurality of corrective digital inputs, said programming section including program means storing digital program to said basic digital input from among the sampled digital program data sampled by said programming section and an adder circuit receiving inputs from said data selector means and said first register for adding said sampled digital program data which is selected by said data selector to said basic digital input. k l 

1. A digital data correcting system comprising a first register for storing a basic digital input, a programming section including a second register for storing a plurality of corrective digital inputs, said programming section including program means storing digital program data in accordance with a predetermined program, said programming section further including sampling means for sampling the digital program data in accordance with the predetermined program in response to said corrective digital inputs stored in said second register to form sampled digital program data, and a data selector means for selecting digital program data corresponding to said basic digital input from among the sampled digital program data sampled by said programming section.
 2. A digital data correcting system comprising a first register for storing a basic digital input, a programming section including a second register for storing a plurality of corrective digital inputs, said programming section including program means storing digital program data in accordance with a predetermined program, said programming section further including sampling means for sampling the digital program data in accordance with the predetermined program in response to said corrective digital inputs stored in said second register to form sampled digital program data, a data selector means for selecting digital program data corresponding to said basic digital input from among the sampled digiTal program data sampled by said programming section and an adder circuit receiving inputs from said data selector means and said first register for adding said sampled digital program data which is selected by said data selector to said basic digital input. 